package com.alageek.study.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/admin/hello")
    public String adminHello(){
        return "hello admin";
    }

    @GetMapping("/db/hello")
    public String dbaHello(){
        return "hello dba";
    }

    @GetMapping("/user/hello")
    public String userHello(){
        return "hello user";
    }

}
